# Try to find freeglut library

find_library(Freeglut_LIBRARIES freeglut ${CMAKE_SOURCE_DIR}/lib)
find_path(Freeglut_INCLUDE_DIR  ${CMAKE_SOURCE_DIR}GL/freeglut.h)

IF(Freeglut_INCLUDE_DIR AND Freeglut_LIBRARIES)
	SET( Freeglut_FOUND TRUE )
	SET( Freeglut_LIBRARIES ${Freeglut_LIBRARIES} )
ENDIF(Freeglut_INCLUDE_DIR AND Freeglut_LIBRARIES)